package edu.pku.sei.transformation.editor.model.execution;

import edu.pku.sei.modeler.model.core.MetaModelElement;

public class ObjectFlow extends Edge {
	public INode getSource() {
		return (INode) sourceElement;
	}

	public void setSource(INode source) {
		if (source instanceof MetaModelElement)
			this.sourceElement = (MetaModelElement)source;
	}

	public INode getTarget() {
		return (INode) targetElement;
	}

	public void setTarget(INode target) {
		if (target instanceof MetaModelElement)
			this.targetElement = (MetaModelElement)target;
	}
}
